<template>
    <div class="home-panel">
        <div class="container">
            <!-- 主标题  副标题-->
            <div class="head">
                <h3 class="title">{{ title }}</h3>
                <slot class="sub" name="sub">
                </slot>
                <slot name="ck"></slot>
                <slot name="lo"></slot>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props:{
        title: {
            type: String,
            default: ''
        }
    }
}
</script>

<style lang="scss" scoped>
.home-panel {
    background: #ffff;
    position: relative;
    color: #000;

    .head {
        padding: 40px 0;
        display: flex;
        align-items: flex-end;

        h3 {
            flex: 1;
            font-size: 32px;
            font-weight: 400;
            margin-left: 6px;
            height: 35px;
            line-height: 35px;
        }

        .sub {
            margin-bottom: 2px;

            li {
                float: left;
                list-style: none;
                a {
                    padding: 2px 12px;
                    font-size: 16px;
                    border-radius: 4px;
                }
            }
        }
    }

}
</style>